import http from '../../data/http'

export function getProxy(query) {
    return http({
        url: '/client/proxy/list',
        method: 'get',
        params: query
    })
}

export function removeProxy(query) {
    return http({
        url: '/client/proxy/remove',
        method: 'get',
        params: query
    })
}

export function addProxy(data) {
    return http({
        url: '/client/proxy/add',
        method: 'post',
        data
    })
}

export function queryProxy(query) {
    return http({
        url: '/client/proxy/query',
        method: 'get',
        params: query
    })
}
